package com.doit.profile_server.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello/{name}")
    public String hello(@PathVariable String name) {
        return "hello:" + name.toUpperCase();
    }

    @RequestMapping("/get")
    public String getString() {
        return "hello";

    }

    @RequestMapping("/allSet")
    public String setString() {
        return "hello";

    }

}
